home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue69 / Clinic / QTestU.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  2001-03-15  |  726 b   |  41 lines

  1. unit QTestU;
  2.  
  3. interface
  4.  
  5. uses
  6.   SysUtils, Types, Classes, QGraphics, QControls, QForms, QDialogs,
  7.   QStdCtrls, IntfPropTest;
  8.  
  9. type
  10.   TForm1 = class(TForm)
  11.     IntfPropTest1: TIntfPropTest;
  12.     IntfImplementor1: TIntfImplementor;
  13.     Button1: TButton;
  14.     procedure Button1Click(Sender: TObject);
  15.     procedure FormCreate(Sender: TObject);
  16.   private
  17.     { Private declarations }
  18.   public
  19.     { Public declarations }
  20.   end;
  21.  
  22. var
  23.   Form1: TForm1;
  24.  
  25. implementation
  26.  
  27. {$R *.xfm}
  28.  
  29. procedure TForm1.Button1Click(Sender: TObject);
  30. begin
  31.   IntfPropTest1.IntfProp.DoSomething
  32. end;
  33.  
  34. procedure TForm1.FormCreate(Sender: TObject);
  35. begin
  36.   Caption := 'Form1';
  37.   Button1.Caption := 'Button1'
  38. end;
  39.  
  40. end.
  41.